//
//  HJUserNewsTagModel.m
//  KaiChat
//
//  Created by lx on 2024/3/22.
//

#import "HJUserNewsTagModel.h"

@implementation HJUserNewsTagModel

MJLogAllIvars

+ (NSArray *)bg_unionPrimaryKeys {
    return @[@"key"];
}

- (NSString *)bg_tableName {
    return [NSString stringWithFormat:@"%@", NSStringFromClass(self.class)];
}

+ (NSString *)bg_tableName {
    return [NSString stringWithFormat:@"%@", NSStringFromClass(self.class)];
}

+ (NSString *)getKeyWithUserId:(NSString *)userId typeId:(NSString *)typeId {
    return [NSString stringWithFormat:@"%@_%@", userId, typeId];
}

- (NSString *)key {
    _key = [NSString stringWithFormat:@"%@_%@", _userId, _typeId];
    return _key;
}


@end
